package com.jumi.microservice.enumerate;

import com.jumi.microservice.common.base.dto.AbstractEnum;

/**
 * 是否是付邮领
 */
public enum FreeGoodsEnum implements AbstractEnum<Byte> {
    YES_FREE((byte) 1, "是"),
    NO_FREE((byte) 0, "不");

    private Byte code;

    private String msg;

    public void setCode(Byte code) {
        this.code = code;
    }

    public String getMsg() {
        return msg;
    }

    public void setMsg(String msg) {
        this.msg = msg;
    }

    FreeGoodsEnum(Byte code, String msg) {
        this.msg = msg;
        this.code = code;
    }

    @Override
    public Byte getCode() {
        return this.code;
    }
}
